#ifndef GAME_REWARD_H_
#define GAME_REWARD_H_
#include "game_part.h"
class Game_Reward : public Game_Part{
private:
	unsigned int timer_tick;
	double left_dx,left_dy;
	double mid_dx,mid_dy;
	double right_dx,right_dy;
	double left_dw,mid_dw,right_dw;
	Sence_Config* p_config;
	vector<SDL_Surface*> pictures;
	list<Pic*> rewards;
public:
	Game_Reward(Sence_Config* config);
	virtual ~Game_Reward();
	virtual bool TimerTick();
	virtual void UpdateToScreen();
private:
	void initialReward();
	void computeDxDyDw();
	void moveNext();
	void addLeftReward();
	void addRightReward();
	void addMidReward();
};
#endif
